emacs.git
10 years agoImprove regexp to match toplevel bindings
Iqbal Ansari [Sat, 10 Oct 2015 12:34:02 +0000 (18:04 +0530)]
Improve regexp to match toplevel bindings

10 years agoChange code to handle nil which-key--current-prefix
Iqbal Ansari [Thu, 8 Oct 2015 03:11:52 +0000 (08:41 +0530)]
Change code to handle nil which-key--current-prefix

This would happen when viewing toplevel bindings

10 years agoFix sort order of function keys
justbur [Fri, 13 Nov 2015 17:03:26 +0000 (12:03 -0500)]
Fix sort order of function keys

10 years agoDon't use face for prefix if using echo area
justbur [Fri, 13 Nov 2015 13:55:20 +0000 (08:55 -0500)]
Don't use face for prefix if using echo area

With some themes the switch from the text from echo-keystrokes with no
face to the which-key text with a face is annoying.

10 years agoBump minor version
justbur [Thu, 12 Nov 2015 18:29:42 +0000 (13:29 -0500)]
Bump minor version

10 years agoAdd option to pad key columns on the left
justbur [Thu, 12 Nov 2015 18:23:59 +0000 (13:23 -0500)]
Add option to pad key columns on the left

Allows you to make more space between the columns if you think the
layout is too tight.

10 years agoFix #79
justbur [Wed, 4 Nov 2015 01:26:48 +0000 (20:26 -0500)]
Fix #79

Explicitly set word-wrap in which-key buffer. Fix unicode correction

10 years agoAdd example of adding Unicode replacements in README
justbur [Wed, 4 Nov 2015 01:03:29 +0000 (20:03 -0500)]
Add example of adding Unicode replacements in README

Thanks @epitzer for the suggestion.
https://github.com/justbur/emacs-which-key/issues/52

10 years agoDon't show help hint for evil operators
justbur [Fri, 30 Oct 2015 01:06:48 +0000 (21:06 -0400)]
Don't show help hint for evil operators

Paging and help doesn't work for these, so don't offer

10 years agoAdd option to show popup for evil operators
justbur [Fri, 30 Oct 2015 00:51:09 +0000 (20:51 -0400)]
Add option to show popup for evil operators

Default is to enable if evil is loaded before which-key. Otherwise, it
is disabled.

10 years agoAdd melpa stable banner
justbur [Thu, 29 Oct 2015 02:52:28 +0000 (22:52 -0400)]
Add melpa stable banner

10 years agoDon't warn when same cons is added to alist twice
justbur [Thu, 22 Oct 2015 13:59:36 +0000 (09:59 -0400)]
Don't warn when same cons is added to alist twice

10 years agoMove sorting functions and add to readme
justbur [Tue, 20 Oct 2015 13:26:07 +0000 (09:26 -0400)]
Move sorting functions and add to readme

10 years agoBetter choices for built-in functions
justbur [Sun, 18 Oct 2015 23:48:04 +0000 (19:48 -0400)]
Better choices for built-in functions

Thanks @xuchunyang!

10 years agoCleanup previous commit
justbur [Sun, 18 Oct 2015 18:15:48 +0000 (14:15 -0400)]
Cleanup previous commit

10 years agoRemove dash.el dependency
justbur [Sun, 18 Oct 2015 17:31:11 +0000 (13:31 -0400)]
Remove dash.el dependency

10 years agoRemove s.el dependency
justbur [Sun, 18 Oct 2015 16:31:40 +0000 (12:31 -0400)]
Remove s.el dependency

10 years agoSatisfy compiler for golden-ratio-mode
justbur [Thu, 15 Oct 2015 14:52:48 +0000 (10:52 -0400)]
Satisfy compiler for golden-ratio-mode

10 years agoPreliminary support for undo
justbur [Fri, 9 Oct 2015 01:59:40 +0000 (21:59 -0400)]
Preliminary support for undo

10 years agoAdd new sort function for testing
justbur [Thu, 8 Oct 2015 12:16:26 +0000 (08:16 -0400)]
Add new sort function for testing

This is a variation on key order, which uses alphabetical sorting for
characters, putting lowercase before uppercase.

@syl20bnr

10 years agoFix problem with two locations for side-window
justbur [Wed, 7 Oct 2015 13:01:28 +0000 (09:01 -0400)]
Fix problem with two locations for side-window

Can't always reuse the same window in this case when we go to a deeper
set of keybindings, because we may need to switch sides.

10 years agoSwitch to defun in last commit
justbur [Wed, 7 Oct 2015 02:05:23 +0000 (22:05 -0400)]
Switch to defun in last commit

10 years agoAdd new sort function
justbur [Wed, 7 Oct 2015 01:55:48 +0000 (21:55 -0400)]
Add new sort function

As suggested by @hmelman, sort by whether a key is a prefix or not (no
prefix takes priority) then by key.

10 years agoBump version to 0.6.2
justbur [Tue, 6 Oct 2015 14:25:32 +0000 (10:25 -0400)]
Bump version to 0.6.2

10 years agoreadme: Remove what's new and add dependency note
justbur [Mon, 5 Oct 2015 11:29:56 +0000 (07:29 -0400)]
readme: Remove what's new and add dependency note

10 years agoMerge pull request #71 from justbur/refactor
Justin Burkett [Sat, 3 Oct 2015 18:38:00 +0000 (14:38 -0400)]
Merge pull request #71 from justbur/refactor

Refactor

10 years agoRemove comment
justbur [Sat, 3 Oct 2015 18:22:29 +0000 (14:22 -0400)]
Remove comment

10 years agoRefactor show-next-page
justbur [Sat, 3 Oct 2015 17:41:00 +0000 (13:41 -0400)]
Refactor show-next-page

10 years agoMove golden-ratio-mode let binding
justbur [Sat, 3 Oct 2015 17:20:35 +0000 (13:20 -0400)]
Move golden-ratio-mode let binding

Let bind golden-ratio-mode earlier in show-page function which may help
prevent golden-ratio from moving the whihc-key buffer

10 years agoDo not display which-key popup if an interactive command is in progress
Iqbal Ansari [Fri, 2 Oct 2015 14:01:15 +0000 (19:31 +0530)]
Do not display which-key popup if an interactive command is in progress

This prevents the which-key popup from being displayed if
`read-key-sequence` is invoked from a command as opposed to the editor's
main loop.

The changes introduced in #b96481 and #6d20c0 have been removed since
they are not needed now

10 years agoAdd remove-hook to previous commit
justbur [Fri, 2 Oct 2015 13:04:51 +0000 (09:04 -0400)]
Add remove-hook to previous commit

10 years agoRun `which-key--hide-popup` in post-command-hook also
Iqbal Ansari [Fri, 2 Oct 2015 11:32:25 +0000 (17:02 +0530)]
Run `which-key--hide-popup` in post-command-hook also

10 years agoRevert preserve-size setting on buffer
justbur [Fri, 2 Oct 2015 00:22:37 +0000 (20:22 -0400)]
Revert preserve-size setting on buffer

It's preventing the buffer from automatically shrinking

10 years agoLet bind golden-ratio-mode when showing window
justbur [Tue, 29 Sep 2015 15:36:48 +0000 (11:36 -0400)]
Let bind golden-ratio-mode when showing window

Prevents golden-ratio from changing size of which-key buffer

Fix #67

10 years agoAdd preserve-size option to side-window display
justbur [Tue, 29 Sep 2015 14:54:29 +0000 (10:54 -0400)]
Add preserve-size option to side-window display

Beginning of fix for #67

10 years agoDon't fail if buffer was killed somehow
justbur [Sun, 27 Sep 2015 16:52:02 +0000 (12:52 -0400)]
Don't fail if buffer was killed somehow

10 years agoFix merge conflicts
justbur [Thu, 24 Sep 2015 14:38:06 +0000 (10:38 -0400)]
Fix merge conflicts

10 years agoBump version
justbur [Thu, 24 Sep 2015 14:33:52 +0000 (10:33 -0400)]
Bump version

10 years agoBetter fix for #65
justbur [Thu, 24 Sep 2015 14:27:33 +0000 (10:27 -0400)]
Better fix for #65

Go back to using the original strategy of backing up
`prefix-help-command` but make sure it never gets set to
`which-key-show-next-page`.

10 years agoRevert "Fix #65"
justbur [Thu, 24 Sep 2015 14:22:29 +0000 (10:22 -0400)]
Revert "Fix #65"

This reverts commit c1873df76dc8d1907405ccb8af8ef7a0da1c63e9.

10 years agoFix #65
justbur [Wed, 23 Sep 2015 18:00:46 +0000 (14:00 -0400)]
Fix #65

Don't try to backup the value of `prefix-help-command` because it was
getting set to `which-key-show-next-page` somehow creating an infinite
recursion error. Just call `describe-prefix-bindings` directly, which
should cover almost all cases.

10 years agoFix docstring typo
justbur [Tue, 22 Sep 2015 13:07:11 +0000 (09:07 -0400)]
Fix docstring typo

Thanks @hmelman

10 years agoAdd alist-name arg to add-key-val-to-alist
justbur [Mon, 21 Sep 2015 01:26:11 +0000 (21:26 -0400)]
Add alist-name arg to add-key-val-to-alist

Otherwise the name of the alist is not available to this function

10 years agoAdd faces group
justbur [Mon, 21 Sep 2015 00:59:01 +0000 (20:59 -0400)]
Add faces group

10 years agoBetter messages for add-key-val-to-alist
justbur [Sat, 19 Sep 2015 15:10:58 +0000 (11:10 -0400)]
Better messages for add-key-val-to-alist

10 years agoRemove some alists from customize and update docs
justbur [Fri, 18 Sep 2015 17:19:48 +0000 (13:19 -0400)]
Remove some alists from customize and update docs

The helper functions should be used now due to the nature of the lists.
Removing the variables from customize should encourage this.

Also add automatic conversion of old format of
`which-key-key-based-description-replacement-alist`.

10 years agoUpdate README for key-based replacements
justbur [Fri, 18 Sep 2015 15:20:00 +0000 (11:20 -0400)]
Update README for key-based replacements

10 years agoAdd ability to highlight certain commands
justbur [Wed, 16 Sep 2015 16:16:34 +0000 (12:16 -0400)]
Add ability to highlight certain commands

Adds `which-key-highlighted-command-list` and
`which-key-highlighted-command-face` as user-customizable means of
highlighting arbitrary commands (selected through regexp) with arbitrary
faces.

10 years agotypo in readme
Justin Burkett [Wed, 9 Sep 2015 15:21:50 +0000 (11:21 -0400)]
typo in readme

10 years agoMute echo-keystrokes message
justbur [Tue, 8 Sep 2015 10:31:52 +0000 (06:31 -0400)]
Mute echo-keystrokes message

It seems to be too much information to display on *every* startup

10 years agoBetter warning for add-key-val-to-alist
justbur [Thu, 3 Sep 2015 19:22:16 +0000 (15:22 -0400)]
Better warning for add-key-val-to-alist

10 years agoFix typo
justbur [Thu, 3 Sep 2015 17:19:42 +0000 (13:19 -0400)]
Fix typo

10 years agoMinor fix on last commit
justbur [Thu, 3 Sep 2015 17:11:12 +0000 (13:11 -0400)]
Minor fix on last commit

10 years agoCommon interface for prefix names and titles
justbur [Thu, 3 Sep 2015 13:11:34 +0000 (09:11 -0400)]
Common interface for prefix names and titles

10 years agoMinor changes to key-seq functions
justbur [Thu, 3 Sep 2015 00:50:18 +0000 (20:50 -0400)]
Minor changes to key-seq functions

10 years agoChange default indentation of helpers
justbur [Thu, 3 Sep 2015 00:36:39 +0000 (20:36 -0400)]
Change default indentation of helpers

10 years agoAdd support for prefix-names
justbur [Wed, 2 Sep 2015 23:51:21 +0000 (19:51 -0400)]
Add support for prefix-names

10 years agoMake preventing C-h cycling the default
justbur [Wed, 2 Sep 2015 16:57:46 +0000 (12:57 -0400)]
Make preventing C-h cycling the default

10 years agoAllow disabling truncation
justbur [Wed, 2 Sep 2015 16:51:47 +0000 (12:51 -0400)]
Allow disabling truncation

10 years agoAdd min-display-lines option
justbur [Wed, 2 Sep 2015 16:04:37 +0000 (12:04 -0400)]
Add min-display-lines option

Ref #60

10 years agoShorten next page hint
justbur [Wed, 2 Sep 2015 12:51:53 +0000 (08:51 -0400)]
Shorten next page hint

It's too long with the buffer on the right

10 years agoFactor out next page hint
justbur [Wed, 2 Sep 2015 12:28:46 +0000 (08:28 -0400)]
Factor out next page hint

10 years agoChange wording of hint
justbur [Wed, 2 Sep 2015 12:01:17 +0000 (08:01 -0400)]
Change wording of hint

10 years agoAdd missing autoload
justbur [Wed, 2 Sep 2015 11:21:48 +0000 (07:21 -0400)]
Add missing autoload

Fix #60

10 years agoDescribe new paging options in readme
justbur [Tue, 1 Sep 2015 17:56:48 +0000 (13:56 -0400)]
Describe new paging options in readme

10 years agoFix compiler warning
justbur [Tue, 1 Sep 2015 17:00:51 +0000 (13:00 -0400)]
Fix compiler warning

10 years agoFix implementation of prevent-C-h-from-cycling
justbur [Tue, 1 Sep 2015 14:53:04 +0000 (10:53 -0400)]
Fix implementation of prevent-C-h-from-cycling

10 years agoAdd experimental support for using descbinds
justbur [Tue, 1 Sep 2015 04:16:19 +0000 (00:16 -0400)]
Add experimental support for using descbinds

Adds a new variable which is disabled by default, called
which-key-prevent-C-h-from-cycling. If both this new variable and
which-key-use-C-h-for-paging are t, then C-h will page through to the
last page, but then drop into the default emacs behavior of calling
describe-prefix-bindings instead of cycling to page 1 again.

10 years agoFix echo-keystrokes backup
justbur [Thu, 27 Aug 2015 12:43:55 +0000 (08:43 -0400)]
Fix echo-keystrokes backup

10 years agoFix which-key-echo-keystrokes docstring
justbur [Thu, 27 Aug 2015 12:37:41 +0000 (08:37 -0400)]
Fix which-key-echo-keystrokes docstring

10 years agoAdd helper function for prefix titles
justbur [Sun, 16 Aug 2015 22:19:30 +0000 (18:19 -0400)]
Add helper function for prefix titles

10 years agoOne more change to format of prefix-title-alist
justbur [Sun, 16 Aug 2015 01:10:49 +0000 (21:10 -0400)]
One more change to format of prefix-title-alist

10 years agoSwitch prefix-titles to key-seq as key
justbur [Sun, 16 Aug 2015 00:26:14 +0000 (20:26 -0400)]
Switch prefix-titles to key-seq as key

10 years agoAdd support for "prefix titles". See #58
justbur [Sat, 15 Aug 2015 17:03:09 +0000 (13:03 -0400)]
Add support for "prefix titles". See #58

10 years agoshow-remaining-keys cleanup
justbur [Mon, 10 Aug 2015 15:05:04 +0000 (11:05 -0400)]
show-remaining-keys cleanup

10 years agoAdd missing save-match-data call
justbur [Mon, 10 Aug 2015 13:09:59 +0000 (09:09 -0400)]
Add missing save-match-data call

10 years agoTweak partition-columns
justbur [Mon, 3 Aug 2015 19:11:46 +0000 (15:11 -0400)]
Tweak partition-columns

10 years agoFix ref to free var
justbur [Mon, 3 Aug 2015 18:54:20 +0000 (14:54 -0400)]
Fix ref to free var

10 years agoReplace ?? with lambda by default
justbur [Mon, 3 Aug 2015 17:46:20 +0000 (13:46 -0400)]
Replace ?? with lambda by default

10 years agoClean-up partition-columns implementation
justbur [Mon, 3 Aug 2015 15:26:56 +0000 (11:26 -0400)]
Clean-up partition-columns implementation

10 years agoAdd README intro to commentary section.
justbur [Sun, 2 Aug 2015 23:33:24 +0000 (19:33 -0400)]
Add README intro to commentary section.

10 years agoBump version
justbur [Sun, 2 Aug 2015 23:27:23 +0000 (19:27 -0400)]
Bump version

10 years agoAllow for nil local-map. Fixes #57
justbur [Sat, 1 Aug 2015 11:16:29 +0000 (07:16 -0400)]
Allow for nil local-map. Fixes #57

10 years agoREADME links working again
justbur [Thu, 30 Jul 2015 20:51:01 +0000 (16:51 -0400)]
README links working again

10 years agoSecond try to fix links
justbur [Thu, 30 Jul 2015 20:10:15 +0000 (16:10 -0400)]
Second try to fix links

10 years agoFix a link in readme
justbur [Thu, 30 Jul 2015 20:05:26 +0000 (16:05 -0400)]
Fix a link in readme

10 years agoAdd local-map face to readme
justbur [Thu, 30 Jul 2015 19:52:21 +0000 (15:52 -0400)]
Add local-map face to readme

10 years agoAdd local-map face
justbur [Wed, 29 Jul 2015 02:42:23 +0000 (22:42 -0400)]
Add local-map face

Possible solution for #45. Does not change any default settings.

10 years agoREADME fixes
justbur [Wed, 29 Jul 2015 02:41:35 +0000 (22:41 -0400)]
README fixes

10 years agoREADME typos
justbur [Tue, 28 Jul 2015 02:41:39 +0000 (22:41 -0400)]
README typos

10 years agoReorg README and new pictures
justbur [Tue, 28 Jul 2015 02:34:56 +0000 (22:34 -0400)]
Reorg README and new pictures

10 years agoMinor wording change to readme
Justin Burkett [Tue, 28 Jul 2015 02:24:48 +0000 (22:24 -0400)]
Minor wording change to readme

10 years agoAdd note to readme
justbur [Tue, 28 Jul 2015 02:04:40 +0000 (22:04 -0400)]
Add note to readme

10 years agoRevert "Fix some parts of readme"
justbur [Tue, 28 Jul 2015 02:00:42 +0000 (22:00 -0400)]
Revert "Fix some parts of readme"

This reverts commit a5413c2b8af110225fabbe64bcad4703c353327c.

10 years agoMore docstrings
justbur [Tue, 28 Jul 2015 01:57:42 +0000 (21:57 -0400)]
More docstrings

10 years agoAllow show-next-page to force update before timer
justbur [Tue, 28 Jul 2015 01:47:06 +0000 (21:47 -0400)]
Allow show-next-page to force update before timer

10 years agoAdd a docstring
justbur [Mon, 27 Jul 2015 02:04:03 +0000 (22:04 -0400)]
Add a docstring

10 years agoFix some parts of readme
justbur [Mon, 27 Jul 2015 00:45:42 +0000 (20:45 -0400)]
Fix some parts of readme

10 years agoC-h for paging is awesome
justbur [Sun, 26 Jul 2015 13:03:16 +0000 (09:03 -0400)]
C-h for paging is awesome

10 years agoAdd next page hint to show-prefix top
justbur [Sat, 25 Jul 2015 18:54:33 +0000 (14:54 -0400)]
Add next page hint to show-prefix top

Also introduce which-key-note-face for notes and hints, and change
format of next page hint slightly.